﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace ZhiAo.CoreLibrary
{
    public class DBUtility
    {
        public static IDBUtility Instance = null;

        static DBUtility()
        {
            if (PlatformInfo.DBType == DBType.Oracle)
            {
                Instance = new OracleUtility();
            }
            else
            {
                Instance = new SqlServerUtility();
            }
        }
    }
}
 
